package com.vote.dao;

import org.hibernate.criterion.DetachedCriteria;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.vote.dao.util.HibernateDao;
import com.vote.dao.util.Page;
import com.vote.entity.UserInfo;

@Repository
public class UserInfoDao extends HibernateDao<UserInfo, Long> {
	
	private static Logger logger = LoggerFactory.getLogger(UserInfoDao.class);
	
	public Page<UserInfo> listByPage(Page<UserInfo> page, DetachedCriteria detach) {
		return this.findPage(page, detach);
	}
	
	
}